package small.common.core.collection;

import java.util.Collection;

/**
 * @Author zhoujin
 * @Date 2022/11/22 16:27
 */
public class CollectionUtil {

    public static boolean isEmpty(Collection coll) {
        return (coll == null || coll.isEmpty());
    }

    public static boolean isNotEmpty(Collection coll) {
        return !CollectionUtil.isEmpty(coll);
    }
}
